import styled from 'styled-components'

export const RecommendItemWrapper = styled.div`
    width: 140px;
    height: 246px;
    position: relative;
    padding-bottom: 30px;

    img {
        width: 140px;
        height: 140px;
        position: absolute;
        top: 0;
    }

    .item {
        position: absolute;
        left: 0px;
        top: 0px;
        width: 140px;
        height: 140px;
        background-image: url('/images/coverall.png');
        background-position: 0px 0px;

        .item-top {
            position: absolute;
            left: 0px;
            top: 0px;
            width: 140px;
            height: 113px;
        }

        .item-bottom {
            position: absolute;
            left: 0px;
            top: 113px;
            width: 140px;
            height: 27px;
            background-image: url('/images/coverall.png');
            background-position: 0px -537px;
            display: flex;

            .earphone-icon {
                position: absolute;
                left: 10px;
                bottom: 8px;
                width: 14px;
                height: 11px;
                background-image: url('/images/iconall.png');
                background-position: 0px -24px;
            }

            .players {
                position: absolute;
                left: 30px;
                bottom: 8px;
                font-size: 12px;
                margin-left: 5px;
                color: rgb(204, 204, 204);
            }

            .listen {
                position: absolute;
                right: 10px;
                bottom: 5px;
                width: 16px;
                height: 17px;
                background-image: url('/images/iconall.png');
                background-position: 0px 0px;
            }
        }
    }

    .item-name {
        position: absolute;
        left: 0px;
        top: 140px;
        width: 140px;
        height: auto;
        color: black;
        line-height: 20px;
        max-height: 60px;
        margin: 8px 0;

        &:hover {
            text-decoration: underline;
        }
    }
`
